import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.SystemColor;

import javax.swing.JPanel;
import javax.swing.JTextArea;


public class HomePanel extends JPanel {
	public HomePanel() {
		setLayout(new BorderLayout(0, 0));
		setVisible(true);
		setPreferredSize(new Dimension(400, 500));
		
		JTextArea txtAreaWelcome = new JTextArea();
		txtAreaWelcome.setBackground(SystemColor.control);
		txtAreaWelcome.setEditable(false);
		txtAreaWelcome.setBorder(javax.swing.BorderFactory.createEmptyBorder());
		txtAreaWelcome.setFont(new Font("David", Font.ITALIC, 44));
		txtAreaWelcome.setText("\r\n     Welcome to the \r\n  " +
				"   Thunder Dragon \r\n     Hospital System");
		
		add(txtAreaWelcome, BorderLayout.CENTER);
		
	}

}
